R Code for Data Simulation with Moment Matching
نویسندگان
چکیده
Simulation from data may be carried out for various purposes in water resources and is most simply achieved when the recorded data set can be regarded as a sequence of independent random variables. The aim is then to simulate a data set from a proabability distribution with similar statistical properties to the recorded data. In a recent paper it was shown that a finite mixture of a large number of generalised beta distributions can be utilised to simulate univariate data which has the same mean, variance, skewness, and kurtosis as any recorded data (Bardsley, 2017). Attention is drawn here to an R implementation of the simulation procedure of that paper. The code is reasonably efficent and generating a million data values requires about one minute on a standard PC.
منابع مشابه
Evaluating the Effects of Field Size on Beam Homogeneity Coefficient in the Superficial Radiotherapy Machine Using Empirical Method and Simulation
Introduction Superficial X-ray therapy is one of the most important treatment methods in radiotherapy especially in the treatment of superficial skin lesions (Up to 300 kVp). Quality of the X-ray beam that can be expressed by Half-Value Layer (HVL), are important indices for this type of treatment effective energy of photon and Homogeneity Coefficient (HC). Materials and Methods The HC of the s...
متن کاملDomain-invariant Representation Learning
The learning of domain-invariant representations in the context of domain adaptation with neural networks is considered. We propose a new regularization method that minimizes the domain-specific latent feature representations directly in the hidden activation space. Although some standard distribution matching approaches exist that can be interpreted as the matching of weighted sums of moments,...
متن کاملNumerical Simulation of Free Surface Flows and Comparison of Symmetry and Real Boundary Conditions at the Free Surface
For implementation of the free surface boundary condition, a new subroutine has been introduced to an existing steady 3-D body fitted code. This code was previously written for steady flow simulation in closed ducts. The algorithm used in this subroutine reduces the instability problem according to the free surface wave generation. For code validation, it was applied to two different open cha...
متن کاملNumerical Simulation of Free Surface Flows and Comparison of Symmetry and Real Boundary Conditions at the Free Surface
For implementation
 of the free surface boundary condition, a new subroutine has been introduced to an existing steady 3-D body fitted code. This code was previously written for steady flow simulation in closed ducts. The algorithm used in this subroutine reduces the instability problem according to the free surface wave generation. For code validation, it was applied to two different open c...
متن کاملAn Intelligent System’s Approach for Revitalization of Brown Fields using only Production Rate Data
State-of-the-art data analysis in production allows engineers to characterize reservoirs using production data. This saves companies large sums that should otherwise be spend on well testing and reservoir simulation and modeling. There are two shortcomings with today’s production data analysis: It needs bottom-hole or well-head pressure data in addition to data for rating reservoirs’ characteri...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2017